home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000164_dbecker@cpicorp.com_Mon Dec 9 13:45:28 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  54 lines

  1. Article: 13945 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news.stealth.net!news.stealth.net!solaris.cc.vt.edu!news.vt.edu!news.cc.ukans.edu!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
  3. From: Derek Chen-Becker <dbecker@cpicorp.com>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Help with date/time formatting in kermit
  6. Date: Mon, 09 Dec 2002 12:33:40 -0600
  7. Organization: CPI Corporation
  8. Lines: 31
  9. Message-ID: <at2nlt$s8p$1@cpimail.cpicorp.com>
  10. NNTP-Posting-Host: dbecker-ld.cpicorp.com
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii; format=flowed
  13. Content-Transfer-Encoding: 7bit
  14. X-Trace: cpimail.cpicorp.com 1039458813 28953 131.100.250.5 (9 Dec 2002 18:33:33 GMT)
  15. X-Complaints-To: abuse@cpicorp.com
  16. NNTP-Posting-Date: Mon, 9 Dec 2002 18:33:33 +0000 (UTC)
  17. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
  18. X-Accept-Language: en-us, en
  19. X-Enigmail-Version: 0.70.0.0
  20. X-Enigmail-Supports: pgp-inline, pgp-mime
  21. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13945
  22.  
  23. Hi,
  24.      I'm trying to generate a timestamp file with a filename including 
  25. the FTP MDTM formatted time (YYYYMMDDhhmmss) and I was wondering if 
  26. there's a better way to do it than:
  27.  
  28. assign parts \fsplit(\v(time),&t,":")
  29. assign filename timestamp.\v(ndate)\fjoin(&t,"",0,1)
  30.  
  31. I was reading the kermit 7.0 and 8.0 supplements along with our copy of 
  32. "Using C-Kermit", and although it looks like kermit can parse a lot of 
  33. different date formats, I can't figure out how to make it write to a 
  34. specific date format.
  35.  
  36.  
  37. Thanks,
  38.  
  39. Derek
  40.  
  41. -- 
  42. ----------------------------------------------------------------------
  43. Derek Chen-Becker
  44. Senior Network Engineer
  45. CPI Corp, Inc.
  46. 1706 Washington Ave
  47. St. Louis, MO 63103
  48. 314-231-1575 x6014
  49. dbecker@cpicorp.com
  50. PGP Key available from public key servers
  51. Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
  52. ----------------------------------------------------------------------
  53.  
  54.